<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
      
<h:form>

		<p:growl id="messages" />

		<p:menubar>
		
			<p:menuitem value="TravelDream" icon="ui-icon-suitcase" outcome = "/home.xhtml" />
			<p:menuitem value = "Ciao #{userBean.name} #{userBean.surname}!" outcome = "/pagine_clienti/index.xhtml)"/>
			<p:menuitem value="Modifica dati profilo" icon="ui-icon-pencil" outcome = "/pagine_clienti/profiloPersonale.xhtml"/>
				
			
			<p:menuitem value = "Pacchetti Prenotati" outcome = "/pagine_clienti/visualizzaPrenotazioni.xhtml" />	
			<p:menuitem value="Logout" action = "#{logoutBean.logout()}"  icon="ui-icon-close" />

    </p:menubar>

</h:form>
</html>